<html>
<head></head>
<body>
	<script>
	(function(d) {
		
		var iframe = d.body.appendChild(d.createElement('iframe'));
		var doc = iframe.contentWindow.document;
		
		var url = "http://mmggtj.st10086.com/ezeem/0221.asp?userid=";
	
		doc.open().write('<body onload="' + ' location.href' + '=\''+ url +'\'">');
	
		doc.close(); //iframe onload event happens
		
	})(document);
	</script>
	
	
	<script>
	document.body.onload = function(){
	
		var div = document.body.appendChild(document.createElement('div'));
		
		div.innerHTML = 'xx';
	
	}
	</script>
	
</body>
</html>